/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1remixcalapp;

/**
 *
 * @author apple
 */
public class NumSign {
    private String strNum;
    private char sign;

    public NumSign() {
    }

    public NumSign(String strNum, char sign) {
        this.strNum = strNum;
        this.sign = sign;
    }

    public String getStrNum() {
        return strNum;
    }

    public void setStrNum(String strNum) {
        this.strNum = strNum;
    }

    public char getSign() {
        return sign;
    }

    public void setSign(char sign) {
        this.sign = sign;
    }
    
    public double getNum()
    {
        return Double.parseDouble(this.strNum);
    }
    
    public void setNum(double num)
    {
        this.strNum=String.valueOf(num);
    }
}
